import { getJSON, postJSON, putJSON, deleteJSON, request } from './axios'
const api_prefix = '/api'
const apis = {
  login: `${api_prefix}/auth/login`,
  refresh: `${api_prefix}/refresh`,
  users: `${api_prefix}/users`,
  getJSON,
  postJSON,
  putJSON,
  deleteJSON,
  request
}

export default apis
